package com.dcits.dubbo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan("com.dcits")
@EnableScheduling
public class Application {

	private static Logger logger = LoggerFactory.getLogger(Application.class);

	public static void main(String[] args) throws InterruptedException{

		SpringApplication.run(Application.class, args);

		if(logger.isInfoEnabled()){
			logger.info("Dubbo客户端启动成功！！！");
		}

	}
	
}
